package com.easyOrder.core.json;

import org.springframework.web.servlet.view.json.MappingJackson2JsonView;

import java.util.Map;

public class MappingJacksonJsonViewExd extends MappingJackson2JsonView {
	
    @Override
    protected Object filterModel(Map<String, Object> model) {
        Map<?, ?> result = (Map<?, ?>) super.filterModel(model);
        Object obj = result.values().iterator().next();
        return obj;
    }
    
}